package com.example.aipDriver.remote;

import com.example.internalcommon.dto.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author lyra
 * @Date 2023/5/6 9:53
 **/
@FeignClient("service-sse-push")
public interface ServiceSsePushClient {

    @RequestMapping(method = RequestMethod.GET,value = "/push")
    String push(@RequestParam Long userId, @RequestParam String identity, @RequestParam String content);
}
